package com.doone;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

import com.doone.core.common.CacheObject;

public class CacheObjectTest {
	
	public static void main(String[] args) {
		List<Map<String,Object>> list = new ArrayList<Map<String,Object>>();
		Map<String,Object> obj = new HashMap<String,Object>();
		obj.put("id", 1);
		obj.put("name", "hh");
		list.add(obj);
		
		obj = new HashMap<String,Object>();
		obj.put("id", 2);
		obj.put("name", "ww");
		list.add(obj);
		
		CacheObject.put("TESTLIST", list);
		
		
		System.out.println(CacheObject.get("TESTLIST"));
	}

}
